Skip to content

Instantly share code, notes, and snippets.

@benabraham
benabraham / simple-statusline.sh
Last active December 18, 2025 12:28
Claude Code StatusLine Script shows only context usage/progress information
#!/usr/bin/env bash
# Simple Claude Code StatusLine Script
# Shows only context usage/progress information
# System-agnostic version using Python instead of jq
# add to your .claude/settings.json (I use it as global)
#
# {
# …,
# "statusLine": {
@samahmaalouf
samahmaalouf / xmpp-servers-tor-hidden-service.md
Created April 16, 2023 06:50 — forked from dllud/xmpp-servers-tor-onion-service.md
Public XMPP servers with Tor Hidden Service

Public XMPP servers with Tor Hidden Service

This is a tentative list of public XMPP (Jabber) servers that provide a Tor Hidden Service (.onion address) for connections from within Tor network. By public I mean, servers that are free for everyone to use and place no barriers on registration.

Clearnet domain Tor Hidden Service In-Band registration XEP compliance IM Observatory grade
5222.de jtovcabr2vhflcqg.onion disabled Excellent A
bommboo.de ujvdniabz53upqfx.onion disabled Excellent A
[ch
@eldon
eldon / CollatePages.js
Last active December 18, 2025 12:23
Mirroring the CollagePages script from here for future use: https://forums.adobe.com/thread/286654#
// Complements: Planet PDF (http://www.planetpdf.com/)
// Modified by Jeff Baitis for Acrobat 9 and Acrobat X compatibility
// Improved Collate function with status bar.
// Add a menu item to reverse all pages in the active document
app.addMenuItem({ cName: "Reverse", cParent: "Edit", cExec: "trustedReversePages();", cEnable: "event.rc = (event.target != null);", nPos: 0 });
// Add a menu item to collate with another document on the filesystem
app.addMenuItem({ cName: "Collate", cParent: "Edit", cExec: "trustedCollatePages();", cEnable: "event.rc = (event.target != null);", nPos: 0 });
trustedReversePages = app.trustedFunction(function()

How to shrink docker_data.vhdx

Previous tutorials didnt worked for me because my setup is a little bit odd.
I'm using windows 11 machine with WSL2 and docker desktop.
I also use k3d to create kubernetes cluster. Also my k3d cluster have local registry
I also used skaffold and other shinigens

0. How much garbage you have?

%USERPROFILE%\AppData\Local\Docker\wsl\disk\ - there is your docker_data.vhdx

@reindex-ot
reindex-ot / Overlay.md
Last active December 18, 2025 12:16
オーバーレイでのローカライズについてのメモ。

オーバーレイのapkを使ったローカライズについてのメモ

作成方法が特になかったので個人的にメモしときます。

AndroidManifest.xml

これを編集することでリソースを置き換える指定をします。

オーバーレイのapkには特徴となる記述があり、overlayが書かれています。

SQL Server 2017
----------------
Enterprise Core - 6GPYM-VHN83-PHDM2-Q9T2R-KBV83
Developer - 22222-00000-00000-00000-00000
Enterprise - TDKQD-PKV44-PJT4N-TCJG2-3YJ6B
Standard - PHDV4-3VJWD-N7JVP-FGPKY-XBV89
Web - WV79P-7K6YG-T7QFN-M3WHF-37BXC
https://www.teamos-hkrg.com/index.php?threads/microsoft-sql-server-english-2017-rtm-teamos.42103/
@dllud
dllud / xmpp-servers-tor-onion-service.md
Last active December 18, 2025 12:13
Public XMPP servers with Tor Hidden Service

Public XMPP servers with Tor Onion Service

This is a tentative list of public XMPP (Jabber) servers that provide a Tor Onion Service (.onion address) for connections from within the Tor network. By public I mean, servers that are free for everyone to use and place no barriers on registration.

Clearnet domain Tor Hidden Service In-Band registration XEP compliance
5222.de fzdx522fvinbaqgwxdet45wryluchpplrkkzkry33um5tufkjd3wdaqd.onion links to web form 100%
cock.li xdkriz6cn2avvcr2vks5lvvtmfojz2ohjzj4fhyuka55mvljeso2ztqd.onion disabled 30%
dismail.de 4colmnerbjz3xtsjmqogehtpbt5upjzef57huilibbq3wfgpsylub7yd.onion disabled 100%
@sile
sile / main.md
Last active December 18, 2025 12:12
2025年の趣味開発環境

2025年の趣味開発環境

2025年は趣味開発環境の変化が大きかったので備忘録として残しておく。

前提:

  • 趣味開発はほぼ毎日している
  • 開発するのはコマンドラインツールやライブラリが多い
  • 言語はほぼRust
  • 開発はほぼAndroid上
@ideadude
ideadude / my_pmpro_report_login_wp_visits_only_for_users.php
Created February 21, 2020 13:29
Change PMPro to only track visits for logged in users.
/**
* Change PMPro to only track visits for logged in users.
* Add this code into a custom plugin or code snippet.
*/
function my_pmpro_report_login_wp_visits_only_for_users() {
if ( ! is_user_logged_in() ) {
remove_action( 'wp', 'pmpro_report_login_wp_visits' );
}
}
add_action( 'init', 'my_pmpro_report_login_wp_visits_only_for_users' );

The Unofficial 37signals/DHH Rails Style Guide

About This Document

This style guide was generated by Claude Code through deep analysis of the Fizzy codebase - 37signals' open-source project management tool.

Why Fizzy matters: While 37signals has long advocated for "vanilla Rails" and opinionated software design, their production codebases (Basecamp, HEY, etc.) have historically been closed source. Fizzy changes that. For the first time, developers can study a real 37signals/DHH-style Rails application - not just blog posts and conference talks, but actual production code with all its patterns, trade-offs, and deliberate omissions.

How this was created: Claude Code analyzed the entire codebase - routes, controllers, models, concerns, views, JavaScript, CSS, tests, and configuration. The goal was to extract not just what patterns are used, but why - inferring philosophy from implementation choices.